package com.zzb.framework.modules.event.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zzb.framework.common.BaseEntity;


/**
* 事件通知方法 实体类
*/
@TableName("t_sys_event_notify")
public class SysEventNotify extends BaseEntity<String> {
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    @TableField(value = "event_id")
    private String eventId; //事件id
    @TableField(value = "execute_spring_id")
    private String executeSpringId; //springBean的id
    @TableField(value = "execute_order")
    private Integer executeOrder; //调用顺序，正序

    /*----------------------get set 方法----------------------*/
    public String getId() {return id;}
    public void setId(String id) {this.id = id;}
    public String getEventId() {return eventId;}
    public void setEventId(String eventId){this.eventId = eventId == null ? null : eventId.trim();}
    public String getExecuteSpringId() {return executeSpringId;}
    public void setExecuteSpringId(String executeSpringId){this.executeSpringId = executeSpringId == null ? null : executeSpringId.trim();}
    public Integer getExecuteOrder() {return executeOrder;}
    public void setExecuteOrder(Integer executeOrder){this.executeOrder = executeOrder;}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SysEventNotify{" +
        "id='" + getId() + '\'' + ',' + 
        "eventId='" + getEventId() + '\'' + ',' + 
        "executeSpringId='" + getExecuteSpringId() + '\'' + ',' + 
        "executeOrder='" + getExecuteOrder() + '\'' + ',' + 
        "createTime='" + getCreateTime() + '\'' + ',' + 
        "creator='" + getCreator() + '\'' + ',' + 
        "updateTime='" + getUpdateTime() + '\'' + ',' + 
        "updater='" + getUpdater() + '\'' + ',' + 
        "activate='" + getActivate() + '\'' + 
        '}';
    }
}
